<?php

/**
 * 初始管理员账号配置
 */
// 密码1 substr(md5('Aa@12345' . '1A7S5jQt'), 8, 16) = f0a6261c88c9f8eb
$data = [
    ['user_name' => 'admin', 'password' => 'f0a6261c88c9f8eb', 'salt' => '1A7S5jQt', 'group_name' => 'admin'],
    // 更多的管理员记录
    ['user_name' => 'mchadmin', 'password' => 'f0a6261c88c9f8eb', 'salt' => '1A7S5jQt', 'group_name' => 'mchadmin'],
];

return [
    'table' => 'sw_auth_admins', 'text' => '通用管理员账号', 'truncate' => false, 'data' => $data,
    'append' => ['avatar' => '/static/images/avatar/default.png', 'register_ip' => '0.0.0.0', 'created_at' => time(), 'updated_at' => time()],
];
